dartaotruntime 3.11.4 (new formula)#275970
Merged
BrewTestBot merged 2 commits intomainfrom Apr 4, 2026
Merged
Conversation
daeho-ro
approved these changes
Apr 4, 2026
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This provides a separately installable
dartaotruntime(~5 MB) that can be used as dependency without entiredart-sdk(~600 MB).With formula addition, all Dart binaries should be built with AOT snapshot and use this as a dependency to avoid duplicating the runtime.
This PR does not split out the existing
dartaotruntimeincluded in Dart SDK. Doing this would complicate the testing and only advantage is it removes the 5 MB fromdart-sdk(which is < 1% of total size). Instead we distribute this similar to approach taken by other upstream projects, e.g. .NET (SDK vs Runtime) and Java (JDK vs JRE).If we ever decide to support proper split packages, then can convert this to a split part of
dart-sdkso we don't build it twice. This requires the ability to move parts of a single installation into separate bottles.